package com.usercar.service;

import com.usercar.pojo.Festival;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-08-11
 */
public interface IFestivalService extends IService<Festival> {

    Integer toInsert(Festival festival);

    Festival selectById(Long festivalId);

    int updatefestivalId(Festival festival);

    Integer deleteById(Integer festivalId);

    Map<String, Object> selectByPage(Integer pageNum, Integer pageSize);

    List<Festival> selectByYear(String year);
}
